package com.bawei.module_home.mvp;



import com.bawei.library_base.TokenPath;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Query;

/**
 * @author : zhiyu
 * @date : 2021/12/13
 * @content :
 */
public interface Api {

    //首页商品
    //TODO(首页商品的Headers)

    @Headers(TokenPath.Toke.TOKE)
    @GET("api/Goods/getGoods?")
    Observable<Goods> getGood(@Query("keyword")String keyword,@Query("type")String type,@Query("pageno")int pageno,@Query("pagesize")int pagesize);
}
